package com.shop.order.model;

import com.shop.order.enums.OrderStatusEnum;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Entity
public class OrderMaster {
    @Id
    private String orderId;
    private String buyerName;
    private String buyerPhone;
    private String buyerAddress;
    private BigDecimal orderAmount;
    private OrderStatusEnum orderStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
